package com.example.yyjc.domain.selectionanalyze;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.metadata.BaseRowModel;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;
import org.apache.ibatis.type.Alias;

/**
 * @ClassName CountrySecondCatCase
 * @Description TODO   国家每个月份二级类目情况
 * @Author lvyongwei
 * @Date 2020-12-1 9:32
 **/
@Data
@Alias("countrySecondCatCase")
@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
public class CountrySecondCatCase extends BaseRowModel {

    /**
     * 二级类目名称
     */
    @ExcelProperty(value = "二级类目名称")
    @ColumnWidth(value = 20)
    private String secondCatName;

    /**
     * 二级类目英文名
     */
    @ExcelProperty(value = "二级类目英文名")
    @ColumnWidth(value = 20)
    private String secondCatEnglishName;

    /**
     * 销售额
     */
    @ExcelProperty(value = "销售额")
    @ColumnWidth(value = 10)
    private Double saleRoom;

    /**
     * 百分比
     */
    @ExcelProperty(value = "百分比")
    @ColumnWidth(value = 10)
    private String percentage;

    /**
     * 对应一级类目
     */
    @ExcelProperty(value = "对应一级类目(一级类目id可查找一级类目表)")
    @ColumnWidth(value = 40)
    private Integer firstCatId;

    /**
     * 日期
     */
    @ExcelProperty(value = "日期")
    private String createTime;

    /**
     * 国家名称
     */
    @ExcelProperty(value = "国家名称")
    @ColumnWidth(value = 15)
    private String countryName;
}
